package net.csdn.business.common.domain.request.notify;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhangyl
 * @date 2022/6/14 14:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserNotifySetDTO {
    @NotBlank(message = "targetType不能为空")
    private String targetType;
    @NotBlank(message = "act不能为空")
    private String act;
    @NotBlank(message = "channel不能为空")
    private String channel;
    @NotNull(message = "isOpen不能为空")
    private Boolean isOpen;

    private String currUserId;
}
